package com.cskaoyan.service;

import com.cskaoyan.bean.bo.ConfigExpressBO;
import com.cskaoyan.bean.bo.ConfigMallBO;
import com.cskaoyan.bean.bo.ConfigOrderBO;
import com.cskaoyan.bean.bo.ConfigWxBO;
import com.cskaoyan.bean.vo.*;

/**
 * @Author: zoey-zhu
 * @description:  配置管理: admin/config ---》 查询system表
 * @Date 14:40 2021/7/9
 */
public interface ConfigService {

    /**
     * @Author: zoey-zhu
     * @description: 商场配置：查询system表
     * @Date 14:40 2021/7/9
     * url: http://182.92.235.201:8083/admin/config/mall
     */
    ConfigMallVO configMall();


    /**
     * @Author: zoey-zhu
     * @description: 运费配置：查询system表
     * @Date 15:07 2021/7/9
     * url: http://182.92.235.201:8083/admin/config/express
     */
    ConfigExpressVO configExpress();


    /**
     * @Author: zoey-zhu
     * @description: 订单配置：查询system表
     * @Date 15:07 2021/7/9
     * url: http://182.92.235.201:8083/admin/config/order
     */
    ConfigOrderVO configOrder();


    /**
     * @Author: zoey-zhu
     * @description: 小程序配置：查询system表
     * @Date 15:07 2021/7/9
     * url: http://182.92.235.201:8083/admin/config/wx
     */
    ConfigWxVO configWx();

    /**
     * @Author: zoey-zhu
     * @description: 商场配置：更新system表
     * @Date 19:59 2021/7/12
     * url: http://182.92.235.201:8083/admin/config/mall
     */
    int configMallUpdate(ConfigMallBO configMallBO);

    /**
     * @Author: zoey-zhu
     * @description: 运费配置：更新system表
     * @Date 20:02 2021/7/12
     * url: http://182.92.235.201:8083/admin/config/express
     */
    int configExpressUpdate(ConfigExpressBO configExpressBO);

    /**
     * @Author: zoey-zhu
     * @description: 订单配置：更新system表
     * @Date 20:02 2021/7/12
     * url: http://182.92.235.201:8083/admin/config/order
     */
    int configOrderUpdate(ConfigOrderBO configOrderBO);

    /**
     * @Author: zoey-zhu
     * @description: 小程序配置：更新system表
     * @Date 20:02 2021/7/12
     * url: http://182.92.235.201:8083/admin/config/wx
     */
    int configWxUpdate(ConfigWxBO configWxBO);

}
